package virtualmethod;

public class UpcastingMain {
	
	public static void main(String[] args) {
		
		Circle c = new Circle();
		c.draw();
		
		// 업케스팅
		Shape s = c;
		s.draw();
		
	}
	
}
